AsyncCallback

public interface AsyncCallback<P, R extends AsyncCallbackAction> implements Callback

A common interface that all asynchronous callbacks must extend.

Parameters

<P>

the type of the object that represents the callback parameters

<R>

the type of the object that can be used to provide the callback response for the given callback parameters asynchronously

Inheritors

Functions

Link copied to clipboard
public abstract void on(P params, R tell)
Invoked when the callback needs a response for the given callback parameters.